#include<iostream>
#include<stdio.h>
using namespace std;
int main(int argc,char **argv)
{
    FILE *fp = fopen("/dev/input/mouse0","r");
    int num;
    fread(&num,1,sizeof(num),fp);
    printf("num=%d\n",num);
    return 0;
}